package org.example.test;

import org.springframework.kafka.annotation.KafkaListener;
import org.springframework.stereotype.Component;

@Component
public class KafkaConsumer {
    @KafkaListener(topics = "test")
    public String handler(String string){
        System.out.println(string);
        return string;
    }
}
